#ifndef __limits_h__
#define __limits_h__

#define CHAR_BIT 8
#define SCHAR_MIN -128
#define SCHAR_MAX 127
#define UCHAR_MIN 0U
#define UCHAR_MAX 255U
#define CHAR_MIN SCHAR_MIN
#define CHAR_MAX SCHAR_MAX

//MB_LEN_MAX

#define SSHRT_MIN -32768
#define SSHRT_MAX 32767
#define USHRT_MIN 0
#define USHRT_MAX 65535U
#define SHRT_MIN SSHRT_MIN
#define SHRT_MAX SSHRT_MAX

#define SINT_MIN -2147483648L
#define SINT_MAX +2147483647L
#define UINT_MIN 0UL
#define UINT_MAX 4294967295UL
#define INT_MIN SINT_MIN
#define INT_MAX SINT_MAX

#define SLONG_MIN -2147483648L
#define SLONG_MAX +2147483647L
#define ULONG_MIN 0UL
#define ULONG_MAX 4294967295UL
#define LONG_MIN SLONG_MIN
#define LONG_MAX SLONG_MAX

#define SLLONG_MIN -9223372036854775808LL
#define SLLONG_MAX +9223372036854775807LL
#define ULLONG_MIN 0ULL
#define ULLONG_MAX 18446744073709551615ULL
#define LLONG_MIN SLLONG_MIN
#define LLONG_MAX SLLONG_MAX

#endif
